package com.example.staticresourcesdeal.pojo;

public class TestObj {
    private int num;
    private String name;
    public TestObj(int num, String name){
        this.name=name;
        this.num=num;
    }
    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int sum(int add){
        return num+add;
    }
    public String concat(String subStr){
        return name+subStr;
    }

}
